package com.sanben.demand.data.dto;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.Data;
import lombok.experimental.Accessors;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;

/**
 * @author cyh
 * @description: 评论表实体类
 * @since 2020-08-11
 */

@Data
@Accessors(chain = true)
@ApiModel(value = "CommentDto对象", description = "评论表")
public class CommentDto implements Serializable {

private static final long serialVersionUID = 1L;

            @ApiModelProperty(value = "主键")
                                    @TableId(value = "id", type = IdType.AUTO)
                                                        private Integer id;
            @ApiModelProperty(value = "评论主题")
        @TableField("company_team_Id")
                                    private String companyTeamId;
            @ApiModelProperty(value = "用户Id(评论者Id)")
                                    private Integer userId;
            @ApiModelProperty(value = "用户头像")
                                    private String userPortrait;
            @ApiModelProperty(value = "用户名")
                                    private String userName;
            @ApiModelProperty(value = "评论内容")
                                    private String content;
            @ApiModelProperty(value = "点赞数")
                                    private Integer praseCount;
            @ApiModelProperty(value = "评论时间")
                                    private LocalDateTime createTime;


        }
